/**
 * login moudle api
 */

 import base from "./base";
 import axios from "@/utils/axios";

 const login = {
  managerLogin(params) {
    return axios.post(base.webBaseUrl + '/login', null, {
      params: params
    });
  },
  weblogincheck() {
    return axios.get(base.webBaseUrl + '/weblogincheck');
  },
  sendEmail(params) {
    return axios.get(base.appBaseUrl + '/email/sent', {
      params: params,
    })
  },
  updatePwd(params) {
    return axios.put(base.appBaseUrl + '/staff/password/update', null, {
      params: params,
    })
  },
 }

 export default login;
